package com.study.www.entity;

import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;
import lombok.ToString;
import org.bson.BsonDouble;
import org.springframework.data.annotation.Id;
import org.springframework.data.mongodb.core.mapping.Document;
import org.springframework.data.mongodb.core.mapping.Field;

import java.io.Serializable;
import java.math.BigDecimal;

/**
 * @author Administrator
 */
@Data
@ToString
@AllArgsConstructor
@NoArgsConstructor
@Document(collection = "dept_info")
public class Dept  {

    @Id
    private String id;

    private String name;

    private String sex;

    private String mobile;
    /** 资金 * 1000 */
    private Long salary;

    private String createTimeLong;

    private String description;
}
